'''获得用户输入的一个小鼠，提取输出其整数部分。'''
s = eval(input('请输入任意小数：'))
i = 0
if i <= s:
    while i <= s:
        if s < i+1:
            print(i)
            break
        else:
            i = i+1
else:
    while i > s:
        i = i-1
    print(i+1)
